<?php

class Context
{
    protected static $values = array();
    
    public static function get($name, $default = null)
    {
        if (array_key_exists($name, self::$values)) {
            return self::$values[$name];
        }
        
        return $default;
    }
    
    public static function set($name, $value)
    {
        self::$values[$name] = $value;
    }
}